package org.gikolet.ch2.android.dao;

import roboguice.inject.ContextScoped;
import android.database.sqlite.SQLiteDatabase;

import com.google.inject.Inject;
import com.google.inject.Provider;

@ContextScoped
public class SQLiteDatabaseProvider implements Provider<SQLiteDatabase> {
	@Inject
	private SQLiteHelper sqLiteHelper;

	public synchronized SQLiteDatabase get() {
		return sqLiteHelper.getWritableDatabase();
	}
}
